﻿<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String webContent = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	request.setAttribute("webContent", webContent);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta charset="utf-8">
        <meta name="author" content="order by dede58.com/" />
		<title></title>
		<link rel="stylesheet" href="res/layui/css/layui.css">
		<link rel="stylesheet" href="res/css/global.css">
		<script src="res/layui/layui.js"></script>
		<style>
			
			
		</style>
	</head>
	<body>
		<div class="header">
			<div class="main">
				<a class="title" href="${webContent }" target="_parent">风花雪月</a>
				<div class="nav-user">
					<div class="avatar" >
						<div class="fly-tab">
							<a href="${webContent }toAddArticle" class="layui-btn jie-add" target="_parent">写文章</a>
						</div>
					</div>
					<i>${sessionScope.user.username }</i>
					<div class="nav">
						<a href="${webContent}admin/login" target="_parent "><i class="iconfont icon-tuichu" style="top: 0; font-size: 22px;"></i>登录</a>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>